package com.ruoyi.leave.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 用水申请对象 workflow_water_plan
 *
 * @author ruoyi
 * @date 2023-12-22
 */
public class WorkflowWaterPlan extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private String id;

    /**
     * 用水申请ID
     */
    @Excel(name = "用水申请ID")
    private Long planId;

    private Long deptId;

    /**
     * 流程实例ID
     */
    @Excel(name = "流程实例ID")
    private String instanceId;

    /**
     * 办理人
     */
    @Excel(name = "办理人")
    private String assignee;

    /**
     * 候选者
     */
    @Excel(name = "候选者")
    private String rolegroup;

    /**
     * 节点名称
     */
    @Excel(name = "节点名称")
    private String activitiname;

    /**
     * 申请渠道
     */
    @Excel(name = "申请渠道")
    private String channel;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private String state;

    /**
     * 创建者名称
     */
    @Excel(name = "创建者名称")
    private String createName;

    /** 申报年度 */
    private String year;

    /** 用水单位ID */
    private Long unitId;

    private Long tcId;

    /** 单位代码 */
    private String unitCode;

    /** 单位名称 */
    private String unitName;

    /** 单位名称 */
    private String status;

    /** 填报日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date fillingDate;

    /** 城市公共供水 */
    private Double urbanWaterSupply;

    /** 地表水 */
    private Double surfaceWater;

    /** 地下水 */
    private Double groundwater;

    /** 总量 */
    private Double total;


    /** 联系人 */
    private String contacts;

    /** 联系方式 */
    private String tel;

    private String reviewStatus;

    private String type;

    private Double coefficient;

    public Long getTcId() {
        return tcId;
    }

    public void setTcId(Long tcId) {
        this.tcId = tcId;
    }

    public Double getCoefficient() {
        return coefficient;
    }

    public void setCoefficient(Double coefficient) {
        this.coefficient = coefficient;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getReviewStatus() {
        return reviewStatus;
    }

    public void setReviewStatus(String reviewStatus) {
        this.reviewStatus = reviewStatus;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Date getFillingDate() {
        return fillingDate;
    }

    public void setFillingDate(Date fillingDate) {
        this.fillingDate = fillingDate;
    }

    public Double getUrbanWaterSupply() {
        return urbanWaterSupply;
    }

    public void setUrbanWaterSupply(Double urbanWaterSupply) {
        this.urbanWaterSupply = urbanWaterSupply;
    }

    public Double getSurfaceWater() {
        return surfaceWater;
    }

    public void setSurfaceWater(Double surfaceWater) {
        this.surfaceWater = surfaceWater;
    }

    public Double getGroundwater() {
        return groundwater;
    }

    public void setGroundwater(Double groundwater) {
        this.groundwater = groundwater;
    }

    public Double getTotal() {
        return total;
    }

    public void setTotal(Double total) {
        this.total = total;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public Long getUnitId() {
        return unitId;
    }

    public void setUnitId(Long unitId) {
        this.unitId = unitId;
    }

    public String getUnitCode() {
        return unitCode;
    }

    public void setUnitCode(String unitCode) {
        this.unitCode = unitCode;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public Long getPlanId() {
        return planId;
    }

    public void setPlanId(Long planId) {
        this.planId = planId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public void setInstanceId(String instanceId) {
        this.instanceId = instanceId;
    }

    public String getInstanceId() {
        return instanceId;
    }

    public void setAssignee(String assignee) {
        this.assignee = assignee;
    }

    public String getAssignee() {
        return assignee;
    }

    public void setRolegroup(String rolegroup) {
        this.rolegroup = rolegroup;
    }

    public String getRolegroup() {
        return rolegroup;
    }

    public void setActivitiname(String activitiname) {
        this.activitiname = activitiname;
    }

    public String getActivitiname() {
        return activitiname;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getChannel() {
        return channel;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getState() {
        return state;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getCreateName() {
        return createName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("planId", getPlanId())
                .append("instanceId", getInstanceId())
                .append("assignee", getAssignee())
                .append("rolegroup", getRolegroup())
                .append("activitiname", getActivitiname())
                .append("channel", getChannel())
                .append("state", getState())
                .append("createName", getCreateName())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
